<template>
	<view class="bg">
	<image style="width: 40rpx;height: 35rpx;position: absolute;left: 40px;top: 30px;margin-right: 40rpx;" src="../../static/back.png" mode="" @click="goBack()"></image>
		{{title}}
	</view>
</template>

<script>
	export default {
		props:{
			title:'',
		},
		data() {
			return {
				
			};
		},
		methods:{
			goBack(){
				uni.navigateBack()
			}
		}
		
	}
</script>

<style lang="scss">
.bg{
	background-color: #49A0FF;
	height: 80px;
	text-align: center;
	line-height:90px;
	color: white;
	font-size: 30rpx;
}
</style>
